package com.dell.chen.service;

import com.dell.chen.pojo.Flowers;
import com.dell.chen.pojo.Page;

import java.util.List;

/**
 * @author ：ChenwithIU
 * @date ：Created in 2020/11/30 14:34
 */
public interface FlowerService {

    //添加商品
    public void  addFlower(Flowers flowers);

    //删除
    public void deleteFlowerById(Integer id);

    //更新
    public void updateFlower(Flowers flowers);

    //根据id 返回一条
    public Flowers queryFlowerById(Integer id);

    //返回Flowers集合
    public List<Flowers> queryFlowers();

    Page<Flowers> page(int pageNo, int pageSize);

    Page<Flowers> pageByPrice(int pageNo, int pageSize, int min, int max);


}
